From e72c35d964f4b03c7f462beff47125661d9ff8e8 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 20 Jun 2006 18:28:41 +0100 Subject: [PATCH] [XEN] Fix to previous changeset: continue to do softirq while delaying. Signed-off-by: Keir Fraser --- xen/drivers/char/console.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index f0fe3e4eb9..bbb9f89a33 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -504,7 +504,7 @@ void init_console(void) void console_endboot(int disable_vga) { - int i; + int i, j; if ( opt_sync_console ) { @@ -522,7 +522,12 @@ void console_endboot(int disable_vga) for ( i = 0; i < 3; i++ ) { printk("%d... ", 3-i); - mdelay(1000); + for ( j = 0; j < 100; j++ ) + { + if ( softirq_pending(smp_processor_id()) ) + do_softirq(); + mdelay(10); + } } printk("\n"); } -- 2.30.2